local ts = require("ts")
local cjson = ts.json
w, h = getScreenSize()
MyTable = {
    ["style"] = "default",
    ["rettype"] = "table",
    ["width"] = w,
    ["height"] = h,
    ["orient"] = "0",
    ["bgcolor"] = "255,255,255",
    ["btnbkcolor"] = "255,255,255",
    ["config"] = "",
    ["pagetype"] = "multi",
    ["selpage"] = "1",
    ["pagenumtype"] = "dot",
    ["titles"] = "基础功能选择,注意事项",
    ["timer"] = "0",
    ["cancelname"] = "取消",
    ["okname"] = "确定",
    pages = {
        {
            {
                ["type"] = "Label",
                ["color"] = "38,38,38",
                ["size"] = "15",
                ["align"] = "left",
                ["text"] = "功能选择"
            },
            {
                ["type"] = "RadioGroup",
                ["select"] = "0",
                ["id"] = "radio1",
                ["list"] = "搜索,召唤"
            },
            {
                ["type"] = "Label",
                ["color"] = "38,38,38",
                ["size"] = "15",
                ["align"] = "left",
                ["text"] = "文本标签"
            }
        },
        {}
    }
}
local MyJsonString = cjson.encode(MyTable)
UIret, values = showUI(MyJsonString)
